package com.moshang.blog.core.constant;




import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author mainbo
 */
@Getter
@Setter
@ToString
public class CurrentUser implements Serializable {
    private Integer id;

    private String userName;

    private String password;

    private Integer age;

    private String email;

    private String image;

    private String realName;

    private String createBy;

    private String updateBy;

    private Date createTime;

    private Date updateTime;

    private Byte enable;
    private Integer locked;

   private List<CurrentResource> currentResourceList;
   private List<CurrentRole> currentRoleList;
    private static final long serialVersionUID = 1L;

    public CurrentUser() {
    }

    public CurrentUser(Integer id, String userName, String realName, String password, Integer age, String email, String image) {
        this.id = id;
        this.userName = userName;
        this.password = password;
        this.age = age;
        this.email = email;
        this.image = image;
        this.realName = realName;
    }
}